package com.yjd.pub.app.dao.impl;

import com.yjd.comm.app.model.BannerModel;
import com.yjd.pub.app.dao.IBannerDao;
import org.springframework.stereotype.Component;
import com.yjd.comm.base.dao.impl.BaseDaoImpl;

/**
 * <b>description</b>：首页banner数据访问层 <br>
 * <b>time</b>：2017-06-26 13:26:48 <br>
 * <b>author</b>： yangchangyan@yijiedai.com
 */
@Component("bannerDao")
public class BannerDaoImpl extends BaseDaoImpl implements IBannerDao {

	private static final String SQLMAPNAMESPACE = BannerModel.class.getName();
	private static final String PKNAME = "banner_id";

	@Override
	public String getPrimaryKeyName() {
		return PKNAME;
	}

	@Override
	public String getSqlmapNamespace() {
		return SQLMAPNAMESPACE;
	}
	
}
